package com.app.web.money.job;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Wang on 2020/3/22.
 */
@Service
public class CancelMoneyService {
    @Autowired
    private CancelMoneyDao cancelMoneyDao;

    List<Map<String,Object>> cancelOrders(){
        return cancelMoneyDao.cancelOrders();
    }

    public int changeCancelStatus(String order_sn){
        return cancelMoneyDao.changeCancelStatus(order_sn);
    }
}
